package com.situ.mall.entity;

public class CartProductVO {
	private Integer id;
	private Integer userId;
	private Integer productId;
	private Integer quantity;
	private String productName;
	private Double price;
	private String mainImage;
	private Integer checked;
	
	
	public CartProductVO() {
		super();
	}
	
	public CartProductVO(Integer id, Integer userId, Integer productId, Integer quantity, String productName,
			Double price, String mainImage, Integer checked) {
		super();
		this.id = id;
		this.userId = userId;
		this.productId = productId;
		this.quantity = quantity;
		this.productName = productName;
		this.price = price;
		this.mainImage = mainImage;
		this.checked = checked;
	}

	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getUserId() {
		return userId;
	}
	public void setUserId(Integer userId) {
		this.userId = userId;
	}
	public Integer getProductId() {
		return productId;
	}
	public void setProductId(Integer productId) {
		this.productId = productId;
	}
	public Integer getQuantity() {
		return quantity;
	}
	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}
	public String getProductName() {
		return productName;
	}
	public void setProductName(String productName) {
		this.productName = productName;
	}
	public Double getPrice() {
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}
	public String getMainImage() {
		return mainImage;
	}
	public void setMainImage(String mainImage) {
		this.mainImage = mainImage;
	}
	public Integer getChecked() {
		return checked;
	}
	public void setChecked(Integer checked) {
		this.checked = checked;
	}
	
	@Override
	public String toString() {
		return "CartProductVO [id=" + id + ", userId=" + userId + ", productId=" + productId + ", quantity=" + quantity
				+ ", productName=" + productName + ", price=" + price + ", mainImage=" + mainImage + ", checked="
				+ checked + "]";
	}
	
}
